<!DOCTYPE html>

<html lang="he">
  
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content>
    <meta name="author" content>
    <link rel="shortcut icon" href="../static/img/favicon.ico">
    <title>Smart Gan</title>
    <!-- Bootstrap core CSS -->
    <link href="../static/css/bootstrap.css" rel="stylesheet">
    <!-- Add custom CSS here -->
    <link href="../static/css/sb-admin.css" rel="stylesheet">
    <link rel="stylesheet" href="../static/css/font-awesome.min.css">
    <!-- Page Specific CSS -->
    <link rel="stylesheet" href="http://cdn.oesmith.co.uk/morris-0.4.3.min.css">
    <!-- JavaScript -->
    <!--<script src="../static/js/jquery-1.10.2.js"></script>-->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script src="../static/js/bootstrap.js"></script>
    <!-- Page Specific Plugins -->
    <script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
    <script src="http://cdn.oesmith.co.uk/morris-0.4.3.min.js"></script>
    <script src="../static/js/morris/chart-data-morris.js"></script>
    <script src="../static/js/tablesorter/jquery.tablesorter.js"></script>
    <script src="../static/js/tablesorter/tables.js"></script>
    <!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>-->
    {% block head %}<!-- extra for header     -->{% endblock head %}
  </head>
  
  <body>
    <div id="bottomLogo">
        <img class="unselectable" src="../static/img/banner.gif">
    </div>
    <div id="wrapper">
      <!-- Sidebar -->
      <nav class="navbar navbar-inverse navbar-fixed-top hidden-print" role="navigation">
        <!-- Brand and toggle get grouped for better mobile display -->

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse navbar-ex1-collapse pull-left">
            {% block side_navbar %}
              <!--  side menu   -->
            {% endblock side_navbar %}
            {% block top_navbar %}
              <ul class="nav navbar-nav navbar-left navbar-user hidden-print">
            <li class="dropdown user-dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i>
{{ KG_info.CT_name }}
                  <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li>
                  <a href="/editKG"><i class="fa fa-user"></i>  עריכת פרטים</a>
                </li>
                <li>
                  <a href="/addChild"><i class="fa fa-plus"></i> הוספת ילד חדש</a>
                </li>
                <li class="divider"></li>
                <li>
                  <a href="/monthlyReports"><i class="fa fa-table"></i> דו"חות נוכחות</a>
                </li>
                <li class="divider"></li>
                <li>
                  <a href="/help"><i class="fa fa-question-circle"></i> עזרה</a>
                </li>
              </ul>
            </li>
          </ul>
            {% endblock top_navbar %}
        </div>
        <!-- /.navbar-collapse -->
          <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
            <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
          </button>
          <a class="navbar-brand pull-right" href="/home">
{{ KG_info.KG_name }}
          </a>
        </div>
      </nav>


      <div id="page-wrapper">
          {% block page_wrapper %}
           <!--     content     -->
          {% endblock page_wrapper %}
      </div>
      <!-- /#page-wrapper -->
    </div>
    <!-- /#wrapper -->
  </body>
</html>